package com.xiaoyu.ftp;

import java.io.IOException;

import com.xiaoyu.util2.PrintUtil;

public class FTPtest {
	public static void main(String[] args) throws IOException {
		FTPUtil ftp = FTPFactory.getInstance("FTPTest");

		PrintUtil.print(FTPConstant.REPLYCODE);
		System.out.println("上传目录:" + ftp.putDir("C:\\download", "test"));

		ftp.destory();
	}
}